package com.taobao.wolfwolf.hibernate.pojo;

import java.util.ArrayList;
import java.util.List;


/**
 * <p>买家类</p>
 * @author qinanhg
 * 创建日期: 2012-4-12 上午11:10:29
 */
public class Customer implements java.io.Serializable {

	private static final long serialVersionUID = 2149337072692756045L;
	
	private Integer id;
	private String taobaoId;
	private String email;
	private Integer buyCount;
	
	private List<ReceiverAddress> addresses = new ArrayList<ReceiverAddress>();

	public Customer() {
	}

	public Customer(String taobaoId, String email,
			Integer buyCount) {
		this.taobaoId = taobaoId;
		this.email = email;
		this.buyCount = buyCount;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTaobaoId() {
		return this.taobaoId;
	}

	public void setTaobaoId(String taobaoId) {
		this.taobaoId = taobaoId;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getBuyCount() {
		return this.buyCount;
	}

	public void setBuyCount(Integer buyCount) {
		this.buyCount = buyCount;
	}

	public List<ReceiverAddress> getAddresses() {
		return addresses;
	}

	public void setAddresses(List<ReceiverAddress> addresses) {
		this.addresses = addresses;
	}
}